package org.smarthings.things.management.rest.resources.actions;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.smarthings.things.commons.rest.BasicResource;

@XmlType(name = "thingActionMetadata")
@XmlRootElement(name = "thingActionMetadata")
public class ThingActionMetadataResource extends BasicResource {

	private String description;
	private List<ThingActionArgumentMetadataResource> arguments;

	@XmlElement(name = "description", required = false)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@XmlElement(name = "arguments", required = false)
	public List<ThingActionArgumentMetadataResource> getArguments() {
		return arguments;
	}

	public void setArguments(List<ThingActionArgumentMetadataResource> metadata) {
		this.arguments = metadata;
	}

}
